import DataGodotif as DG
values,scaler=DG.Normalization('WithWeather/BigIndustry.csv')
values=values.values
print(values)
print(values.shape)
ratio=2/3     #用前2/3数据作训练集，剩下的当测试集
train_len=int(ratio*values.shape[0])
train_X=values[:train_len,2:]
train_Y=values[:train_len,:2]
test_X=values[train_len:,2:]
test_Y=values[train_len:,:2]
#reshape
train_X=train_X.reshape((train_X.shape[0],1,train_X.shape[1]))
test_X=test_X.reshape((test_X.shape[0],1,test_X.shape[1]))

print(train_X.shape,train_Y.shape,test_X.shape,test_Y.shape)


